package com.example.javaow.service;// DeviceService.java
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.javaow.domain.base.ResponseResult;
import com.example.javaow.domain.dto.DeviceDto;
import com.example.javaow.domain.vo.DeviceVo;

public interface DeviceService {
    ResponseResult add(DeviceDto deviceDto);

    ResponseResult update(DeviceDto deviceDto);

    ResponseResult delete(Long[] id);

    ResponseResult getById(Long id);

    IPage<DeviceVo> getByConditions(int pageNum, int pageSize, String deviceAddress, String deviceNumber, String deviceName, String deviceType, Long groupId, String status, String location, String keyword);

}